package com.xk857.pojo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author CV大魔王
 * @Description 用户登陆请求类
 * @date 2021/3/2 17:44
 */
@ApiModel("用户登陆请求类")
@Data
public class UserREQ {

    @NotNull
    @ApiModelProperty(value = "账号",required = true)
    private String username;

    @NotNull
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
